<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>insert</title>
</head>

<body>
<div id="wrap">
    <input type="button" value="打开相册" onClick="openPictures()"/><br/>
    <input id="test1" type="test"/><br/>
    <input type="button" value="获取地址ַ" onClick="test()"/><br/>
    地址：<br/>
    <input id="test2" type="test"/><br/>
    <input type="button" value="清除缓存ַ" onClick="clearCache()"/><br/>
    <br/>
    <input id="clear" type="test"/><br/>
    <input type="button" value="跳转googlePlayַ" onClick="togooglePlay()"/><br/>

    <input type="button" value="跳转浏览器" onClick="toPay()"/><br/>


    <input type="button" value="消息队列显示" onClick="showMessages()"/><br/>
    <script type="text/javascript" language="javascript">
    function openPictures(){  
        var str = window.js.openPictures();  
    }  

/**
* 返回bas64图片
*/
     function photoPath(path){  
       document.getElementById("test2").value = path;
    }

     function photoResultPath(path){
       document.getElementById("test1").value = path;
    }
    
    function clearCache(){
        var p=window.js.getHaveNumber();
        document.getElementById("clear").value = p;
    }  
     
    function togooglePlay(){  
         window.js.toGooglePlay();
    }   
    
    
    function toPay(){  
         window.js.toPay("http://www.cnblogs.com/zhen-android/p/5929511.html");  
    }   

    function showMessages(){
         var message="['1q11','2222','33333','44444sre']"
         window.js.showMessages(message,1000);
    }










    </script>
</div>
</body>
</html>

         